/* Copyright (c) 2004-2024 peigen.info. All rights reserved. */

package info.peigen.hotpot.manage.core.service.facade;

import info.peigen.hotpot.manage.core.service.order.ResourceCreateOrder;
import info.peigen.hotpot.manage.core.service.order.ResourceEditOrder;
import info.peigen.hotpot.manage.core.service.result.ResourceCreateResult;
import info.peigen.hotpot.manage.core.service.result.ResourceEditResult;

/**
 * <b>(ResourceServiceFacade)</b>
 * "资源" 门面服务
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2024-06-28
 */
public interface ResourceServiceFacade {
    /**
     * 创建接口
     *
     * @param order ResourceCreateOrder
     *
     * @return ResourceCreateResult
     */
    ResourceCreateResult create(ResourceCreateOrder order);

    /**
     * 编辑接口
     *
     * @param order ResourceEditOrder
     *
     * @return ResourceEditResult
     */
    ResourceEditResult edit(ResourceEditOrder order);
}